<ul>
    <% blogList.forEach(blog => {  %>
        <li data-id="<%= blog.id %>"><%= blog.title %></li>
    <% }) %>
</ul>

<script>
    console.log('100')
</script>